<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    //window选择框
    //history location window document
    var result1 = window.confirm("确认杀死王圆梦吗？");
    var result2 = window.confirm("选择复活王圆梦吗？");
    if(!result2){
        alert("程雅丽拒绝了复活王圆梦的请求");
    }
    if(result2){
        alert("程雅丽同意了复活王圆梦的请求并决定再杀死她一次")
    }
    if(result1){
        alert("王圆梦has been killed");
    }
    
    var result = window.confirm("确认删除该条数据吗？");
    if(result){
        alert("用户确认了操作");
    }else{
        alert("用户取消了操作");
    }
</script>
</html>